package com.gitee.pifeng.monitoring.ui.business.web.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gitee.pifeng.monitoring.ui.business.web.entity.MonitorConfig;
import com.gitee.pifeng.monitoring.ui.business.web.entity.MonitorConfigUser;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 监控配置数据访问对象
 * </p>
 *
 * @author 皮锋
 * @custom.date 2020-11-04
 */
public interface IMonitorConfigDao extends BaseMapper<MonitorConfig> {

    public List<MonitorConfigUser> selectmonitorConfigUser(MonitorConfigUser monitorConfigUser);

    public Long deleteconfigId(Long ConfigID);

    public int insertmonitorConfigUser(@Param("monitorConfigUsers") ArrayList<MonitorConfigUser> monitorConfigUsers);

}
